home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 5
/
Aminet 5 - March 1995.iso
/
Aminet
/
dev
/
c
/
cweb33p11a.readme
< prev
next >
Wrap
Text File
|
1995-02-12
|
13KB
|
210 lines
Short: Literate programming discipline for C/C++.
Author: levy@geom.umn.edu (Silvio Levy and Donald E. Knuth)
Uploader: scherer@genesis.informatik.rwth-aachen.de (Andreas Scherer)
Type: dev/c
Files: cweb33p11a.lha, cweb33p11a.readme
This is the portability implementation of Silvio Levy's and Donald Ervin
Knuth's CWEB system, version 3.3 of December 7, 1994, compiled and provided
with changefiles for ANSI-C, TURBO-C, and SAS/C 6.x and makefiles for
UNIX-make, Borland-make and SAS-make by Andreas Scherer. It is based on
the CWEB 3.1 port by Tomas Charles Willis and the CWEB 2.8 port by Carsten
Steger and the CWEB-p 3.0 distribution by Hans-Hermann Bode and Klaus
Guntermann, including all features of the original UNIX implementation like
ANSI-C and C++ support, full ASCII input capability, and more, plus all
enhancements made in these AMIGA, MSDOS, and UNIX ports plus some special
features like:
- The complete source code is capable of being recompiled with SAS/C for
AmigaOS, with Borland C/C++ 3.1 for MSDOS, and with CC, C89, and GCC
for UNIX without the need for further changes. The Amiga versions of
all three system programs are compiled and linked in genuine C++ mode.
For compilation in ANSI-C mode rename the .cc files to their .c form,
and modify the EXTENSION field in the makefile accordingly.
- The `+l' option with its argument `X' causes CWEAVE to prepend `X' to
`cwebmac.tex' in the first line of the output file. `X' may be any
string of characters (case dependent and possibly empty), e.g., if you
called CWEAVE with the option `+ldansk', the danish macro file
`danskcwebmac.tex' would be included instead of `cwebmac.tex'. The
macro file `Xcwebmac.tex' itself contains some modifications to the
original `cwebmac.tex' file as described in the documentation. There
are macro packages `dcwebmac.tex' by Andreas Scherer for German users,
`icwebmac.tex' by Giuseppe Ghibò for Italian users, and lately even
`fcwebmac.tex' by Denis B. Roegel for French CWEB programmers. These
macro files translate all captions used by the CWEAVE processor into
the respective languages and also include support for special
characters like umlauts (diacritics) and some other frequently used
specials according to ISO Latin-1, IBM PC International Codepage 850,
Macintosh 8-bit font table and HP Roman 8. Similar packages for other
languages can easily be added to this scheme. To date there are no
conflicting languages, so single-character strings are used.
- There are TeX macro files `ecma94.sty', `hp8.sty', `mac8.sty', and
`pc850.sty' for support of extended code tables. These have been
set up to work as `packages' for LaTeX2e too. Also included are the
files `ecma94.w', `hp8.w', `mac8.w', and `pc850.w' with appropriate
transliteration tables. The option `+a' of former versions of the
AMIGA installation is now replaced by the file `amiga_types.w', which
can be `@i'ncluded in the source files where needed.
- Two AREXX scripts for use with the CygnusEd Professional Editor were
added to this package, one for CTANGLE and CWEAVE, localized with the
help of language catalogs under AmigaOS version 2.1 or 3.0, the other
for use with the SAS/C 6.x compiler in connection with CED V3.5.
- Both CTANGLE and CWEAVE are fully localized with the help of language
catalogs and the `locale.library' of AmigaOS 2.1/3.0. Default is (of
course) English; catalogs for German and Italian are provided and
other language catalogs can easily be added. #include files with the
English, German, and Italian strings are provided for non-localized
operating systems.
- An algorithm for recursive `@i'nclude file search was adapted from the
TeX and METAFONT implementation. The current directory is searched
first, then the contents of the (possibly empty) environment variable
CWEBINPUTS, and then the (system dependent) internal defaults given in
the compile-time constants CWEBINPUTS in the respective makefiles.
- The `-o' option was added in connection with `-i' by Carsten Steger.
- Five additional CWEB example programs are included as examples for the
portability between PASCAL-WEB and C-CWEB and for the usage of the C++
features of version 3.1. The fifth example program is a simple text
converter for files with extended character codes of ISO-Latin-1,
PC-850, MAC 8-bit font, and HP 8-bit font.
- All three system programs support the `version' information command.
- All three system programs are compiled in the NEAR data segment and
can be made resident.
- The `+m' option enables ARexx communication between CWEB and the SAS/C
message browser SCMSG. Any warnings or error messages are transferred
to its list window. The behaviour of this feature can be controlled
via the external environment variable SCMSGOPT, which may be set to
any legal option string as described in the documentation of the SAS/C
development system by SAS Institute.
- The output files are only written when there are significant changes
to their contents, i.e., when a CWEB source creates multiple output
files, only those modules effected by changes will be recompiled in
the `make' process. This mechanism was taken from Preston Briggs's
NUWEB program, to whom credit is due.
Major parts of this Amiga port were done and completely tested with SAS/C
version 6.3 and SAS/C++ version 6.51 on the AMIGA. After completion the
official version [p10] of the package was re-ported to various UNIX systems
(HP 9000, HP-PA, Sun, SGI) with CC, C89, and GCC, and ported to MSDOS with
Borland C/C++ 3.1. Provided that all these ports work successfully, I am
quite sure that all bugs have been found and fixed.
New and modified features were tested on the AMIGA with SAS/C++ 6.51 in
both ANSI-C and C++ mode and on a DEC station running Ultrix 4.4 with the
DEC CC compiler. Again the resulting system was then ported to MSDOS with
Borland C/C++ 3.1, now in the form of three C++ projects (there wasn't
enough free memory to start Borland-make from within the development
environment, so Makefile.pc actually wasn't tested).
As Levy and Knuth seem to have changed their update policy, this is the
second version of CWEB 3.3 in December 1994. Right after patch level 11
was installed in the AmiNet, Stanford provided a new distribution. To
keep you up to date, the changes are made in this updated version too.
Enjoy, Andreas.
December 13, 1994.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
2561 1288 49.7% 08-Nov-94 21:45:24 cweb/arexx/catalogs/cweb_arexx.cd
1949 978 49.8% 08-Nov-94 21:45:24 cweb/arexx/catalogs/cweb_arexx.e.ct
2600 1239 52.3% 08-Nov-94 21:45:24 cweb/arexx/catalogs/cweb_arexx.f.ct
2597 1268 51.1% 08-Nov-94 21:45:24 cweb/arexx/catalogs/cweb_arexx.i.ct
366 237 35.2% 08-Nov-94 21:45:22 cweb/arexx/catalogs/english/cweb_arexx.catalog
412 272 33.9% 08-Nov-94 21:45:22 cweb/arexx/catalogs/francais/cweb_arexx.catalog
392 254 35.2% 08-Nov-94 21:45:22 cweb/arexx/catalogs/italiano/cweb_arexx.catalog
5153 2112 59.0% 08-Nov-94 21:45:24 cweb/arexx/compile.ced
12913 4923 61.8% 03-Dec-94 09:01:44 cweb/arexx/start_web.ced
9609 2981 68.9% 03-Dec-94 09:04:22 cweb/bin/catalogs/cweb.cd
14901 4770 67.9% 03-Dec-94 09:04:12 cweb/bin/catalogs/cweb.d.ct
17541 3697 78.9% 03-Dec-94 09:04:34 cweb/bin/catalogs/cweb.h
14739 4634 68.5% 03-Dec-94 09:04:08 cweb/bin/catalogs/cweb.i.ct
18339 3904 78.7% 03-Dec-94 09:04:34 cweb/bin/catalogs/dcweb.h
6616 2343 64.5% 03-Dec-94 09:04:52 cweb/bin/catalogs/deutsch/cweb.catalog
18340 3947 78.4% 03-Dec-94 09:04:34 cweb/bin/catalogs/icweb.h
6470 2350 63.6% 03-Dec-94 09:05:02 cweb/bin/catalogs/italiano/cweb.catalog
776 408 47.4% 14-Mar-94 16:44:02 cweb/comm-man.ch
2546 1150 54.8% 19-Nov-93 10:29:10 cweb/comm-vms.ch
36838 10185 72.3% 13-Dec-94 20:56:20 cweb/common.cc
68007 18950 72.1% 13-Dec-94 20:53:54 cweb/common.ch
8841 2972 66.3% 08-Nov-93 22:10:36 cweb/common.h
52111 17461 66.4% 05-Dec-94 16:21:38 cweb/common.w
777 408 47.4% 14-Mar-94 16:44:14 cweb/ctang-man.ch
1101 527 52.1% 28-Nov-94 01:10:18 cweb/ctang-vms.ch
37984 10041 73.5% 13-Dec-94 20:54:02 cweb/ctangle.cc
46140 11670 74.7% 13-Dec-94 20:53:00 cweb/ctangle.ch
54370 18216 66.4% 27-Nov-94 20:39:04 cweb/ctangle.w
777 408 47.4% 14-Mar-94 16:44:28 cweb/cweav-man.ch
1138 563 50.5% 28-Nov-94 01:08:50 cweb/cweav-vms.ch
74718 17823 76.1% 13-Dec-94 20:52:06 cweb/cweave.ch
162215 52867 67.4% 28-Nov-94 02:19:26 cweb/cweave.w
3366 1589 52.7% 08-Nov-92 19:16:24 cweb/cweb.1
8969 3252 63.7% 03-Jan-93 15:01:10 cweb/cweb.el
4647 1957 57.8% 08-Nov-94 21:45:30 cweb/cweb.man
6539 2933 55.1% 13-Dec-94 20:36:36 cweb/cweb33p11.readme
75659 27920 63.0% 05-Dec-94 16:22:44 cweb/cwebman.tex
9890 3145 68.2% 03-Dec-94 08:59:16 cweb/cwebmana.ch
27449 8428 69.2% 08-Nov-94 21:45:24 cweb/examples/cct.w
26712 9905 62.9% 08-Nov-94 21:45:24 cweb/examples/commonwords.w
1845 800 56.6% 08-Nov-94 21:45:24 cweb/examples/extex.ch
12417 4749 61.7% 10-Jun-93 13:09:30 cweb/examples/extex.w
10289 3191 68.9% 13-Jul-92 16:15:20 cweb/examples/kspell.el
3829 1310 65.7% 08-Nov-94 21:45:24 cweb/examples/Makefile
962 424 55.9% 03-Oct-92 12:25:42 cweb/examples/Makefile.org
18469 6765 63.3% 08-Nov-94 21:45:24 cweb/examples/matrix.wpp
8027 2111 73.7% 05-Dec-94 16:20:06 cweb/examples/oemacs.el
38418 15440 59.8% 10-Jan-93 14:58:46 cweb/examples/oemacs.w
11444 4398 61.5% 09-Nov-94 07:47:50 cweb/examples/primes.ch
20841 8455 59.4% 08-Nov-94 21:45:24 cweb/examples/primes.w
4267 1959 54.0% 08-Nov-94 21:45:24 cweb/examples/README
2946 1462 50.3% 03-Oct-92 12:16:08 cweb/examples/README.org
9164 3844 58.0% 08-Nov-94 21:45:26 cweb/examples/sample.w
3485 1116 67.9% 08-Nov-94 21:45:26 cweb/examples/treeprint.ch
6830 2899 57.5% 12-Sep-93 09:55:22 cweb/examples/treeprint.w
4765 1669 64.9% 08-Nov-94 21:45:26 cweb/examples/wc.ch
9029 3917 56.6% 22-Aug-94 11:30:20 cweb/examples/wc.w
25150 8695 65.4% 10-Jun-93 13:04:42 cweb/examples/wmerge.w~
1269 592 53.3% 08-Nov-94 21:45:26 cweb/examples/wordtest.ch
20892 7901 62.1% 10-Jun-93 12:59:26 cweb/examples/wordtest.w
1858 590 68.2% 09-Nov-92 00:33:42 cweb/examples/xlib_types.w
5811 1391 76.0% 09-Nov-92 00:33:56 cweb/examples/xview_types.w
1431 531 62.8% 08-Nov-94 21:45:26 cweb/include/amiga_types.w
1187 655 44.8% 08-Nov-94 21:45:26 cweb/include/ecma94.w
1187 671 43.4% 08-Nov-94 21:45:26 cweb/include/hp8.w
1163 648 44.2% 08-Nov-94 21:45:26 cweb/include/mac8.w
1183 664 43.8% 08-Nov-94 21:45:26 cweb/include/pc850.w
15319 5962 61.0% 19-Sep-94 12:14:16 cweb/macros/cwebmac.tex
6152 2479 59.7% 08-Nov-94 21:45:26 cweb/macros/dcwebmac.tex
8504 2556 69.9% 08-Nov-94 21:45:26 cweb/macros/ecma94.sty
5060 1970 61.0% 08-Nov-94 21:45:26 cweb/macros/fcwebmac.tex
7907 2412 69.4% 08-Nov-94 21:45:26 cweb/macros/hp8.sty
5983 2399 59.9% 08-Nov-94 21:45:26 cweb/macros/icwebmac.tex
7818 2425 68.9% 08-Nov-94 21:45:26 cweb/macros/mac8.sty
8347 2543 69.5% 08-Nov-94 21:45:26 cweb/macros/pc850.sty
1604 673 58.0% 03-Dec-94 09:02:32 cweb/macros/Xcwebmac.tex
7966 2977 62.6% 13-Dec-94 20:40:00 cweb/Makefile.amiga
7957 2949 62.9% 03-Dec-94 08:55:52 cweb/Makefile.pc
9047 3341 63.0% 03-Dec-94 08:56:04 cweb/Makefile.unix
13755 4070 70.4% 28-Nov-94 02:11:14 cweb/prod.w
19267 7236 62.4% 13-Dec-94 21:12:32 cweb/README
3033 1381 54.4% 02-Aug-94 12:01:08 cweb/README.org
17930 5051 71.8% 13-Dec-94 20:23:10 cweb/wmerge.cc
24732 7987 67.7% 13-Dec-94 20:19:26 cweb/wmerge.ch
25151 8698 65.4% 28-Nov-94 00:16:54 cweb/wmerge.w
-------- ------- ----- --------- --------
1270758 417931 67.1% 16-Dec-94 00:15:00 85 files